package br.com.registrofinancas.util;

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.util.Log;

public class AlertSimplesUtils {
	public static void exibeAlert(Context context, String titulo, String mensagem){
		AlertDialog.Builder builder = new AlertDialog.Builder(context);
		builder.setTitle(titulo);
		builder.setMessage(mensagem);
		builder.setNegativeButton("Ok", new DialogInterface.OnClickListener() { 
			public void onClick(DialogInterface arg0, int arg1) { 
				Log.i("teste", "teste");
			} 
		});		
		AlertDialog alerta = builder.create();
		alerta.show();		
	}
}
